package com.yunhe.common.model.device;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EnergyUnitDTO {

    private Long id;
    private Long code;
    private String name;
    private String title;
    private Double ratedPower;
    private Double scale;
    private String remark;
    private Boolean hasTransformer;
    private Boolean activity;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date productionTime;
    private Long energyUnitTypeId;
    private String energyUnitTypeTitle;
    private Long measurePointId;
    private String measurePointTitle;
    private Long inputOutputModeId;
    private String inputOutputModeTitle;
    private Long electricityModeId;
    private String electricityModeTitle;
    private Long voltageLevelId;
    private String voltageLevelTitle;
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getEnergyUnitTypeId() {
        return energyUnitTypeId;
    }

    public void setEnergyUnitTypeId(Long energyUnitTypeId) {
        this.energyUnitTypeId = energyUnitTypeId;
    }

    public String getEnergyUnitTypeTitle() {
        return energyUnitTypeTitle;
    }

    public void setEnergyUnitTypeTitle(String energyUnitTypeTitle) {
        this.energyUnitTypeTitle = energyUnitTypeTitle;
    }

    public Double getRatedPower() {

        return ratedPower;
    }

    public void setRatedPower(Double ratedPower) {
        this.ratedPower = ratedPower;
    }

    public Double getScale() {
        return scale;
    }

    public void setScale(Double scale) {
        this.scale = scale;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getHasTransformer() {
        return hasTransformer;
    }

    public void setHasTransformer(Boolean hasTransformer) {
        this.hasTransformer = hasTransformer;
    }

    public Boolean getActivity() {
        return activity;
    }

    public void setActivity(Boolean activity) {
        this.activity = activity;
    }

    public Date getProductionTime() {
        return productionTime;
    }

    public void setProductionTime(Date productionTime) {
        this.productionTime = productionTime;
    }

    public Long getMeasurePointId() {
        return measurePointId;
    }

    public void setMeasurePointId(Long measurePointId) {
        this.measurePointId = measurePointId;
    }

    public String getMeasurePointTitle() {
        return measurePointTitle;
    }

    public void setMeasurePointTitle(String measurePointTitle) {
        this.measurePointTitle = measurePointTitle;
    }

    public Long getInputOutputModeId() {
        return inputOutputModeId;
    }

    public void setInputOutputModeId(Long inputOutputModeId) {
        this.inputOutputModeId = inputOutputModeId;
    }

    public String getInputOutputModeTitle() {
        return inputOutputModeTitle;
    }

    public void setInputOutputModeTitle(String inputOutputModeTitle) {
        this.inputOutputModeTitle = inputOutputModeTitle;
    }

    public Long getElectricityModeId() {
        return electricityModeId;
    }

    public void setElectricityModeId(Long electricityModeId) {
        this.electricityModeId = electricityModeId;
    }

    public String getElectricityModeTitle() {
        return electricityModeTitle;
    }

    public void setElectricityModeTitle(String electricityModeTitle) {
        this.electricityModeTitle = electricityModeTitle;
    }

    public Long getVoltageLevelId() {
        return voltageLevelId;
    }

    public void setVoltageLevelId(Long voltageLevelId) {
        this.voltageLevelId = voltageLevelId;
    }

    public String getVoltageLevelTitle() {
        return voltageLevelTitle;
    }

    public void setVoltageLevelTitle(String voltageLevelTitle) {
        this.voltageLevelTitle = voltageLevelTitle;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
